<div class="r0 p10 pt0 col-xs-12" ng-controller="detailCtrl">
<div class="col-xs-12 p0 mt10">
	
	<div class="adorn-bl-3 pl10 f16">
		个人资料
	</div>
	<div class="notice h30 pl20 pt5 mt20" ng-if="model.status==1">
			<i class="iconfont f16 pr20">&#xe632;</i>邮箱尚未验证，请登陆邮箱验证！ 
			<a class="cursor" "_self" href="javascrpit:void(0);"
				onclick="callAjaxByName('iUrl=back/sendValidateEmail.do|iLoading=PROPUPFLOAT发送中，请稍后...|ishowMethod=updateDivWithImg');">
				重新发送验证码
			</a>
	</div>
	<form class="mt20" ng-submit="submitForm('user/addOrUpdate.do')">
		<table class="table table-bordered">
			<tr>
				<td class="tc w100">用户名</td>
				<td class="tc" colspan="3">
					<input  class="form-control b0 no-b-s"  type="text" ng-model="model.userName" required>
				</td>
			</tr>
			<tr>
				<td class="tc">真实姓名/昵称</td>
				<td class="tc" colspan="3">
					<input  class="form-control b0 no-b-s" type="text" ng-model="model.trueName" required placeholder="点击修改昵称">
				</td>
			</tr>
			<tr ng-if="isSupperAdmin()">
				<td class="tc">类型</td>
				<td class="tl" colspan="3">
						<div class="C999 pl10">*普通用户只能查看自己创建的项目，管理员能查看所有项目</div>
						<input  class="form-control b0 no-b-s"  id="typeName" type="text" ng-model="model.typeName" required placeholder="点击选择"
					ng-focus="loadPickByName('iwidth=220|iheight=320|tagName=typeName|tag=type|code=USERTYPE|def='+model.type,$event)">
				</td>
			</tr>
			<tr>
				<td class="tc">邮箱</td>
				<td class="tc w200" colspan="3">
					<input  class="form-control b0 no-b-s" type="text" ng-model="model.email" placeholder="请点击选择角色"
	>
				</td>
			</tr>
			
			<tr>
				<td class="tc">密码</td>
				<td class="tc" colspan="3">
					<input  class="form-control b0 no-b-s" type="text" ng-model="model.password" placeholder="点击修改密码">
				</td>
			</tr>
			<tr ng-if="showOperation('USER','');">
				<td class="tc">权限</td>
				<td class="tc w200" colspan="3">
					<input  class="form-control b0 no-b-s" readonly id="authName" type="text" ng-model="model.authName" placeholder="请点击选择权限"
					ng-click="loadPickByName('iwidth=300|iheight=460|radio=false|tagName=authName|tag=auth|code=AUTH|def='+model.auth,$event)">
				</td>
				
			</tr>
			<tr ng-if="showOperation('USER','');">
				<td class="tc">角色</td>
				<td class="tc w200" colspan="3">
						<input  class="form-control b0 no-b-s" readonly id="roleName" type="text" ng-model="model.roleName" placeholder="请点击选择角色"
						ng-click="loadPickByName('iwidth=300|iheight=460|radio=false|tagName=roleName|tag=roleId|code=ROLE|def='+model.roleId,$event)">
				</td>
			</tr>
			
	</table>
	<button type="submit" class="btn btn-success fr">修改</button>
	</form>
	
</div>
</div>
<div class="cb"></div>

